package com.barunlab.ems.model;

import java.io.Serializable;

import com.barunlab.ems.constants.EmsRequestType;

public class EmsRequest implements Serializable {
	private static final long serialVersionUID = 3702406602101511688L;

	private ClientInfo		clientInfo;
	private EmsRequestType 	requestType;
	private Object[] 		requestParams;
	
	public EmsRequest(ClientInfo clientInfo, EmsRequestType requestType) {
		this(clientInfo, requestType, null);
	}
	
	public EmsRequest(ClientInfo clientInfo, EmsRequestType requestType, Object[] requestParams) {
		this.clientInfo		= clientInfo;
		this.requestType 	= requestType;
		this.requestParams 	= requestParams;
	}
	
	public ClientInfo getClientInfo() {
		return clientInfo;
	}
	
	public EmsRequestType getRequestType() {
		return requestType;
	}
	
	public Object[] getRequestParams() {
		return requestParams;
	}
}
